*if "<formula$dir>"="" then set formula$dir <obey$dir>
*if "<formula$init>"="" OR "%0" ="" then *obey <obey$dir>.!init %*0 
*if "<icon$blocksize>"="" then error 0 set icon$blocksize
*if <icon$blocksize> < 110000 then error 0 icon$blocksize should >= 110000
*echo *wimpslot -min <formula$minwimpslot> -max <formula$minwimpslot> { > <formula$work>.wimpslot }
*obey <formula$work>.wimpslot  
*if "<formula_tlaconfig$dir>"="" then *set formula_tlaconfig$dir <formula$dir>
*if "<formula_go$dir>"="" then *set formula_go$dir <formula$dir>
*set formula$warning true
*set formula$error true
*echo unexpected error use *spool spoolfile if you didn't saw the errormessage of iconx { > <formula$work>.error }
*echo no warning { > <formula$work>.warning }
| do formula -> macro-conversion
<iconx$path>iconx 2> <formula$work>.iconxerr <formula$dir>.formula082 -asm=TLA -make %*0 
|
| handle errors and warnings
|
*if "<formula$error>"="true" then *print <formula$work>.iconxerr { >> <formula$work>.error }
*remove <formula$work>.iconxerr
*if "<formula$error>"="true" then *run <formula$viewer> <formula$work>.error else *remove <formula$work>.error 
|
*if "<formula$error>"="true" then *set formula$warning false
|
*if "<formula$warning>"="true" then *run <formula$forkview> <formula$work>.warning else *delete <formula$work>.warning
*quit
